import type { TableColumn } from '@/components/core/dynamic-table';

export type TableListItem = API.GroupListResultItem;
export type TableColumnItem = TableColumn<TableListItem>;

export const baseColumns: TableColumnItem[] = [
  {
    title: '群组编码',
    dataIndex: 'code',
    align: 'center',
    hideInSearch: true,
  },
  {
    title: '群组名称',
    dataIndex: 'name',
    align: 'center',
  },
  {
    title: '群组领导',
    dataIndex: 'leaderName',
    align: 'center',
    hideInSearch: true,
  },
  {
    title: '备注说明',
    dataIndex: 'remark',
    hideInSearch: true,
    align: 'center',
  },
];
